3/**
 * 多功能应用 - 官方最佳实践版本
 * 使用React Navigation + Context + Hooks架构
 *
 * @format
 */

import React from 'react';
import { AppProvider } from './src/context/AppContext';
import { ThemeProvider } from './src/context/ThemeContext';
import RootNavigator from './src/navigation/RootNavigator';
import StatusBarManager from './src/components/StatusBarManager';

const App: React.FC = () => {
  return (
    <AppProvider>
      <ThemeProvider>
        <StatusBarManager />
        <RootNavigator />
      </ThemeProvider>
    </AppProvider>
  );
};

export default App;
